﻿#pragma once
#include "SerialClientThread.h"
#include "FrameMgr.h"
#include "fcmiddleware.h"

class MyTcpClientThread : public FCMiddleware::TcpThread
{
public:
    MyTcpClientThread(FrameMgr* frameMgr, const QString& serverIP, unsigned int serverPort, QObject *parent = nullptr);
    ~MyTcpClientThread();

protected:
	FrameMgr* _frameMgr;

protected:
	virtual bool sendPacket() override;
    virtual bool recvPacket() override;
};

